home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-06-05 | 1.3 KB | 56 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\Desktop\Other"
- "NAME"="Disable Desktop"
- "VERSION"="1.3"
- "WARNING"="1"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable Desktop!"
- "DESCRIPTION 1"="If this option is set, the entire desktop is disabled."
- "DESCRIPTION 2"="This means, ABSOLUTELY NO ICONS are displayed on the desktop."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
-
-
- sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDesktop"
-
- Sub Plugin_Initialize
- i=RegReadValue(sPath)
- if IsEmpty(i)=false then
- If i=1 then Call SetUIElement(1,true)
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sPath,1,2)
- else
- Call RegWriteValue(sPath,0,2)
- ' if RegPathExists(sPath & sTC) then
- ' Call RegDeletePath(sPath & sTC)
- ' end if
- end if
-
- ' b=GetUIElement(2)
- ' if b=true then
- ' Call RegWriteValue(sPath & sIE & "\@","",1)
- ' else
- ' if RegPathExists(sPath & sIE) then
- ' Call RegDeletePath(sPath & sIE)
- ' end if
- ' end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-